﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011A5 RID: 4517
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ShareData : IMessage<ShareData>, IMessage, IEquatable<ShareData>, IDeepCloneable<ShareData>, IBufferMessage
	{
		// Token: 0x17003926 RID: 14630
		// (get) Token: 0x0600CA34 RID: 51764 RVA: 0x00220D88 File Offset: 0x0021EF88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ShareData> Parser
		{
			get
			{
				return ShareData._parser;
			}
		}

		// Token: 0x17003927 RID: 14631
		// (get) Token: 0x0600CA35 RID: 51765 RVA: 0x00220D8F File Offset: 0x0021EF8F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ShareDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003928 RID: 14632
		// (get) Token: 0x0600CA36 RID: 51766 RVA: 0x00220DA1 File Offset: 0x0021EFA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ShareData.Descriptor;
			}
		}

		// Token: 0x0600CA37 RID: 51767 RVA: 0x00220DA8 File Offset: 0x0021EFA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ShareData()
		{
		}

		// Token: 0x0600CA38 RID: 51768 RVA: 0x00220DB0 File Offset: 0x0021EFB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ShareData(ShareData other) : this()
		{
			this.nJAAFDJBHCH_ = other.nJAAFDJBHCH_;
			this.eDOMAELNOFG_ = other.eDOMAELNOFG_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CA39 RID: 51769 RVA: 0x00220DE1 File Offset: 0x0021EFE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ShareData Clone()
		{
			return new ShareData(this);
		}

		// Token: 0x17003929 RID: 14633
		// (get) Token: 0x0600CA3A RID: 51770 RVA: 0x00220DE9 File Offset: 0x0021EFE9
		// (set) Token: 0x0600CA3B RID: 51771 RVA: 0x00220DF1 File Offset: 0x0021EFF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NJAAFDJBHCH
		{
			get
			{
				return this.nJAAFDJBHCH_;
			}
			set
			{
				this.nJAAFDJBHCH_ = value;
			}
		}

		// Token: 0x1700392A RID: 14634
		// (get) Token: 0x0600CA3C RID: 51772 RVA: 0x00220DFA File Offset: 0x0021EFFA
		// (set) Token: 0x0600CA3D RID: 51773 RVA: 0x00220E02 File Offset: 0x0021F002
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EDOMAELNOFG
		{
			get
			{
				return this.eDOMAELNOFG_;
			}
			set
			{
				this.eDOMAELNOFG_ = value;
			}
		}

		// Token: 0x0600CA3E RID: 51774 RVA: 0x00220E0B File Offset: 0x0021F00B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ShareData);
		}

		// Token: 0x0600CA3F RID: 51775 RVA: 0x00220E19 File Offset: 0x0021F019
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ShareData other)
		{
			return other != null && (other == this || (this.NJAAFDJBHCH == other.NJAAFDJBHCH && this.EDOMAELNOFG == other.EDOMAELNOFG && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CA40 RID: 51776 RVA: 0x00220E58 File Offset: 0x0021F058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NJAAFDJBHCH != 0U)
			{
				num ^= this.NJAAFDJBHCH.GetHashCode();
			}
			if (this.EDOMAELNOFG != 0U)
			{
				num ^= this.EDOMAELNOFG.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CA41 RID: 51777 RVA: 0x00220EB0 File Offset: 0x0021F0B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CA42 RID: 51778 RVA: 0x00220EB8 File Offset: 0x0021F0B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CA43 RID: 51779 RVA: 0x00220EC4 File Offset: 0x0021F0C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EDOMAELNOFG != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.EDOMAELNOFG);
			}
			if (this.NJAAFDJBHCH != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.NJAAFDJBHCH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CA44 RID: 51780 RVA: 0x00220F20 File Offset: 0x0021F120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NJAAFDJBHCH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NJAAFDJBHCH);
			}
			if (this.EDOMAELNOFG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EDOMAELNOFG);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CA45 RID: 51781 RVA: 0x00220F78 File Offset: 0x0021F178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ShareData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NJAAFDJBHCH != 0U)
			{
				this.NJAAFDJBHCH = other.NJAAFDJBHCH;
			}
			if (other.EDOMAELNOFG != 0U)
			{
				this.EDOMAELNOFG = other.EDOMAELNOFG;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CA46 RID: 51782 RVA: 0x00220FC8 File Offset: 0x0021F1C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CA47 RID: 51783 RVA: 0x00220FD4 File Offset: 0x0021F1D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.NJAAFDJBHCH = input.ReadUInt32();
					}
				}
				else
				{
					this.EDOMAELNOFG = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005125 RID: 20773
		private static readonly MessageParser<ShareData> _parser = new MessageParser<ShareData>(() => new ShareData());

		// Token: 0x04005126 RID: 20774
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005127 RID: 20775
		public const int NJAAFDJBHCHFieldNumber = 15;

		// Token: 0x04005128 RID: 20776
		private uint nJAAFDJBHCH_;

		// Token: 0x04005129 RID: 20777
		public const int EDOMAELNOFGFieldNumber = 14;

		// Token: 0x0400512A RID: 20778
		private uint eDOMAELNOFG_;
	}
}
